WP_Defender\Component\Two_Factor\Providers\Totp S

Total Complexity 40
Dependencies 8
Dependents 3
Total lines 353
Lines of code 175
Logical lines of code 87
Comment lines 88
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
user_options()
S
45 6 42
verify_otp()
S
56 6 16
get_user_secret()
S
60 5 13
generate_otp()
S
52 4 21
validate_authentication()
S
56 4 20
init_provider()
S
61 4 12
save_setup_key()
S
67 2 8
__construct()
S
74 1 4
get_label()
S
78 1 3
get_login_label()
S
79 1 3
get_user_label()
S
79 1 3
get_description()
S
82 1 3
authentication_form()
S
68 1 8
get_auth_apps()
S
69 1 7
generate_qr_code()
S
63 1 9
is_available_for_user()
S
78 1 3